package com.easy.service;

import com.easy.bean.Staff;
import com.easy.util.Page;

import java.util.List;

public interface StaffService {

    Staff add(Staff staff);

    int del(Integer id);

    Staff edit(Staff staff);

    List<Staff> all(Staff staff);

    Staff one(Integer id);

    void page(Page page, Staff staff);

    /**
     * 清理未被引用的OSS图片
     */
    void cleanUnusedImages();


}